HTML - tags - param tag

revision:


Content

param" tag : parameters tag for object element syntax some examples


"param" tag : parameters tag for object element

top

The <param> tag is used to define parameters for an <object> element. We can use more than one <param> tag within an <object> element in any order, but each tag must contain "name" and "value" attribute and should be placed at the start of the content. The <param> tag controls the behaviour of the <object> element using a different pair of the "name" of value attributes, such as autoplay, controller, etc.

Attributes: the <param> element includes the global attributes. The tag also supports the following additional attributes:

name ; value: text ; specifies the name of a parameter.

value ; value: text; specifies the value of a parameter.


syntax

top
        <object>
            <param name=" " value=" "> 
            <param name=" " value=" "> 
        </object>
    

some examples

top
code:
                <object class="example" data="../pics/horse.wav">
                    <param name="autoplay" value="true">
                </object>
            
coding:
                    <object class="example" data="../pics/peacock.wav">
                        <param name="autoplay" value="true">
                    </object>